package io.renren.modules.task.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;
import io.renren.modules.task.dao.MtCcLocationPointDao;
import io.renren.modules.task.entity.MtCcLocationPointEntity;
import io.renren.modules.task.service.MtCcLocationPointService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;


@Service("mtCcLocationPointService")
public class MtCcLocationPointServiceImpl extends ServiceImpl<MtCcLocationPointDao, MtCcLocationPointEntity> implements MtCcLocationPointService {

    @Autowired
    private MtCcLocationPointDao mtCcLocationPointDao;
    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<MtCcLocationPointEntity> page = this.page(
                new Query<MtCcLocationPointEntity>().getPage(params),
                new QueryWrapper<MtCcLocationPointEntity>()
        );

        return new PageUtils(page);
    }

    

}